package cn.edu.fzu.homemaking.api;

import cn.edu.fzu.homemaking.web.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author jiebin
 * @Date 2023/4/12
 */
@FeignClient(name="sys")
public interface SysApi {
    @GetMapping("/api/sys/company/getById")
    public Result getById(@RequestParam("id") Long id);
}
